home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12175 < prev    next >
Encoding:
Text File  |  1996-08-05  |  868 b   |  36 lines

  1. Path: dsi.unimi.it!moreld
  2. From: moreld@dsi.unimi.it (~ZIO BUDDA~)
  3. Newsgroups: comp.lang.c++
  4. Subject: Overload
  5. Date: 18 Mar 1996 15:06:14 GMT
  6. Organization: Computer Science Dep. - Milan University
  7. Message-ID: <4iju56$m68@tic.sm.dsi.unimi.it>
  8. NNTP-Posting-Host: tac.fddi.dsi.unimi.it
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi, this is my question :
  12.  
  13. i have thi class :
  14.  
  15. class Foo {
  16.     char *a;
  17.     String b;
  18.  
  19.    public:
  20.     char *GET();
  21.     String GET(); 
  22. };
  23.  
  24. why this overload is not poxible????
  25. I don't want two function with 2 name, i want 2 function with the same name.
  26.  
  27. tnx in advence.
  28.  
  29. --
  30. Zio Budda "sempre alla ricerca di un account..." moreld@ghost.dsi.unimi.it
  31. http://www.dsi.unimi.it/Users/Students/moreld/home.html
  32. Ask me for questions about LINUX and Games for PC, and see my home page 
  33. I'm a programmer and a consultant...
  34.  
  35. Tel. 02/2139959 ... Chiedere di Davide Michel
  36.